package com.et114.modules.org.form;

import java.util.List;

import com.et114.core.form.BaseActionForm;
import com.et114.modules.org.vo.GroupVo;

public class TitleForm extends BaseActionForm {
    /**
	 * 
	 */
	private static final long	serialVersionUID	= - 1709309217684151590L;
	private Long grpId;
    private Long titleId;
    private String titleName;
    private String titleDesc;
    private Long[] deleteId;
    private List groupList;
    private List titleList;

    private GroupVo groupVo;
    private byte roleType ; 
    private String principalIds ; 
	private String roleName ;

    public GroupVo getGroupVo() {
        return groupVo;
    }

    public void setGroupVo(GroupVo groupVo) {
        this.groupVo = groupVo;
    }

    public List getTitleList() {
        return titleList;
    }

    public void setTitleList(List titleList) {
        this.titleList = titleList;
    }

    public Long getGrpId() {
        return grpId;
    }

    public void setGrpId(Long grpId) {
        this.grpId = grpId;
    }

    public Long getTitleId() {
        return titleId;
    }

    public void setTitleId(Long titleId) {
        this.titleId = titleId;
    }

    public String getTitleName() {
        return titleName;
    }

    public void setTitleName(String titleName) {
        this.titleName = titleName;
    }

    public String getTitleDesc() {
        return titleDesc;
    }

    public void setTitleDesc(String titleDesc) {
        this.titleDesc = titleDesc;
    }

    public Long[] getDeleteId() {
        return deleteId;
    }

    public void setDeleteId(Long[] deleteId) {
        this.deleteId = deleteId;
    }

    public boolean isValidTitleId() {
        return titleId != null && titleId.longValue() != 0L;
    }

    public List getGroupList() {
        return groupList;
    }

    public void setGroupList(List groupList) {
        this.groupList = groupList;
    }

	public byte getRoleType ( ) {
		return roleType;
	}

	public void setRoleType ( byte roleType ) {
		this.roleType = roleType;
	}

	public String getPrincipalIds ( ) {
		return principalIds;
	}

	public void setPrincipalIds ( String principalIds ) {
		this.principalIds = principalIds;
	}

	public String getRoleName ( ) {
		return roleName;
	}

	public void setRoleName ( String roleName ) {
		this.roleName = roleName;
	}
    
    /*public void reset(ActionMapping mapping, HttpServletRequest request) {
    }*/
}